package com.intelligent.bot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.intelligent.bot.base.result.B;
import com.intelligent.bot.model.Classify;
import com.intelligent.bot.model.Team;
import com.intelligent.bot.model.User;
import com.intelligent.bot.model.base.BaseDeleteEntity;
import com.intelligent.bot.model.req.*;
import com.intelligent.bot.model.res.LoginUserRes;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface ITeamService extends IService<Team> {

    B<Page<Team>> list(TeamGetListReq req);

    B<Void> add(TeamAddReq req);

    B<Void> update(TeamUpdateReq req);

    B<Void> delete(BaseDeleteEntity req);

    B<Void> allocation(TeamAllocationReq req);

    B<List<Classify>> getClassifyList(GetClassifyListReq req);
}
